home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
126-150
/
disk_145
/
dnet
/
overview
< prev
next >
Wrap
Text File
|
1992-05-06
|
2KB
|
54 lines
DNET OVERVIEW
AMIGA/BSD4.3UNIX
16 March 1988
What is DNET?
DNet is a link protocol. Properly, it should be called DLink, but
DNet sort of stuck so unless I get sued the name will remain DNet. What DNet
provides is essentially an unlimited number of reliable connections between
processes on machine A and processes on machine B.
DNet can be run on any Amiga or 4.3UNIX machine. You can connect
an Amiga with an Amiga, Amiga with UNIX, or UNIX with UNIX. DNet works
on the Amiga with any EXEC device that looks like a serial.device . DNet
works on UNIX with tty and socket devices. DNet achieves better than
95% average throughput (through real-life usage) on file transfers.
DNet utilizes a client-server relationship, where servers 'listen'
on virtual port numbers for one or more connections from 'clients'. Servers
are run on-demand if they are listed in the special server file DNET.SERVERS .
For instance, you could have several shell windows, a load average window,
and two file transfers (one in each direction) simultaniously.
DNet uses a sliding-window protocol which allows up to 4
unacknowledged windows in transit. The minimum packet size is 3 bytes
(SYNC/CMD/CHK). Packets which contain data are longer. No error correction
is used (packets are resent on error), and a two byte enhanced checksum is
used for data sections. Overlayed on the low level data packets are
higher level multiplexed commands and data that implement virtual
connections and such.
Connections are prioritized. For instance, a shell window has
a higher priority than a file transfer. However, since up to 4 packets
may be queued to the serial line, you will still not get fantastic
per-character response from shell window while a file transfer is going
on. Block response is better... you get a screen full of data just as
fast with the file transfer than without.
Since DNet is server based, just about anything can be written for
it. Already written is a file transfer client/server, shell window,
talk program (when you've got two amiga's connected together), and remote
CLI window (unix->Amiga remote CLI or Amiga->Amiga remote CLI). In the
future I hope to have an RFS (mount the UNIX filesystem on the Amiga), Mail
(hopefully SMTP), and other clients/servers.
-Matt